﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TSharp.Core.Mvc
{
    #region 描述
    /* ==================================
     * by 向宏春
     * 2013/6/4 15:59:48 
     * ==================================
     */
    #endregion
    public interface IFunctionality
    {
        /// <summary>
        /// 更新操作表信息
        /// </summary>
        /// <param name="funList"></param>
        void Update(List<ControllerFunc> funList);

        /// <summary>
        /// 查询资源Key
        /// </summary>
        /// <param name="code">资源标识</param>
        /// <param name="title">资源描述</param>
        /// <returns></returns>
        Guid? GetResourceKeyByAction(string code, string title);

        /// <summary>
        /// 查询资源Key
        /// </summary>
        /// <param name="code">资源标识</param>
        /// <returns></returns>
        Guid? GetResourceKeyByAction(string code);
    }
}
